package com.mtt.erp.goods.vo;

import com.wuwenze.poi.annotation.ExcelField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @Description: 展示参数
 * @Author: guomengzhou
 * @CreateDate: 2019/7/5$ 10:04$
 * @UpdateUser: guomengzhou
 * @UpdateDate: 2019/7/5$ 10:04$
 * @Version: 1.0
 */
@Getter
@Setter
@Builder
@AllArgsConstructor
@ApiModel(
        description = "子商品信息"
)
public class MabFileVo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 商品ID
     */
    @ExcelField(value = "商品ID")
    @ApiModelProperty(
            value = "商品ID"
    )
    private String mab01;

    /**
     * 供应商子SKU
     */
    @ExcelField(value = "供应商子SKU")
    @ApiModelProperty(
            value = "供应商子SKU"
    )
    private String mab02;

    /**
     * 产品图片 默认主图
     */
    @ExcelField(value = "产品图片")
    @ApiModelProperty(
            value = "产品图片 默认主图"
    )
    private String mab04;


    /**
     * 售价
     */
    @ExcelField(value = "售价")
    @ApiModelProperty(
            value = "售价"
    )
    private BigDecimal mab13;


    /**
     * 产品状态 Y有效N无效
     */
    @ExcelField(value = "产品状态")
    @ApiModelProperty(
            value = "产品状态(Y:有效N:无效)"
    )
    private String mabacti;


    /**
     * 修改日期
     */
    @ExcelField(value = "修改日期")
    @ApiModelProperty(
            value = "修改日期"
    )
    private LocalDateTime mabmdate;

    /**
     * 描述(展示)
     */
    @ExcelField(value = "描述")
    @ApiModelProperty(
            value = "商品描述"
    )
    private String name;

    /**
     * key值 避免表格key重复
     */
    @ApiModelProperty(
            value = "key值 避免表格key重复"
    )
    private String key;
}
